package com.dai.designpattern.factory.abstractf;

/**
 * @author daijiyong
 */
public class Test {
    public static void main(String[] args) {
        MiFactory factory = new XiaoMiFactory();
        factory.createPhone().learnCoding();
        factory.createComputer().happyCoding();
    }
}
